﻿using Devonline.AspNetCore.OData;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Devonline.Identity.Admin.Controllers;

[Route("api/[controller]")]
[ApiController]
[SecurityHeaders]
[Authorize(Roles = GROUP_MAINTAINERS)]
public class LevelsController(
    ILogger<LevelsController> logger,
    IDataWithAttachmentService<Level> dataService,
    IExcelExportService excelExportService) :
    ODataExportServiceController<IdentityDbContext, Level>(logger, dataService, excelExportService)
{ }